From: kaf24@localhost.localdomain Date: Thu, 28 Dec 2006 17:14:41 +0000 (+0000) Subject: [BLK] front: Fix free of event channel. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15422^2~130 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=b842346faa25ffc36c9b2967cce1df031ecf4b60;p=xen.git [BLK] front: Fix free of event channel. Signed-off-by: Takanori Kasai Signed-off-by: Tsunehisa Doi --- diff --git a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c index 6b7100a1bc..43e524807a 100644 --- a/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/blkfront/blkfront.c @@ -384,6 +384,8 @@ static int blkfront_remove(struct xenbus_device *dev) DPRINTK("blkfront_remove: %s removed\n", dev->nodename); + xenbus_free_evtchn(dev, info->evtchn); + blkif_free(info, 0); kfree(info);